Prihlásiť sa
Computer Science for IGCSE & O level - Programming (Section 4 - No. 9)
What will `print("Python"[2:])` output?
P
Py
thon
Error
Vysvetlenie
Slicing from index 2 to the end of the string will give 'thon'.
Pripomienky (0)
Ak chcete komentovať, prihláste sa
Reklama
Umožnite JavaScriptu správne načítať túto stránku